/** 
* All Rights Reserved , Copyright (C) 2021 , 青岛鼎信通讯股份有限公司
* 
* FileBlockRecordEntity
* 文件分块
* 
* 修改纪录
* 2021-03-16 版本：1.0 donghang 创建。
* @version 版本：1.0
* @author 作者：donghang</name>
* 创建日期2021-03-16</date>
*/

package com.topscomm.center.pojo;

import java.math.BigDecimal;
import java.util.*;
import com.topscomm.center.*;

public class FileBlockRecordEntity extends CenterEntity
{
    private static final long serialVersionUID = 1L;
    /** TableName:文件分块	*/
    public static String tableName= "FileBlockRecord";
    @Override
    public String getTableName(){ return "FileBlockRecord";}

    /** ColumnName:来源系统		*/
    public static String FieldSourcesys = "sourcesys";

    /** ColumnName:来源类型		*/
    public static String FieldSourcetype = "sourcetype";

    /** ColumnName:来源id		*/
    public static String FieldSourceid = "sourceid";

    /** ColumnName:文件附件id		*/
    public static String FieldFileid = "fileid";

    /** ColumnName:用户id		*/
    public static String FieldUserid = "userid";

    /** ColumnName:文件标识		*/
    public static String FieldIdentifier = "identifier";

    /** ColumnName:当前块号		*/
    public static String FieldBlocknum = "blocknum";

    /** ColumnName:每块大小		*/
    public static String FieldBlocksize = "blocksize";

    /** ColumnName:当前块大小		*/
    public static String FieldCurrentblocksize = "currentblocksize";

    /** ColumnName:总块数		*/
    public static String FieldTotalblockcount = "totalblockcount";

    /** ColumnName:文件总大小		*/
    public static String FieldFilesize = "filesize";

    /** ColumnName:文件名		*/
    public static String FieldFilename = "filename";

    /** ColumnName:文件类型		*/
    public static String FieldFiletype = "filetype";

    /** ColumnName:块md5		*/
    public static String FieldBlockmd5 = "blockmd5";

    /** ColumnName:是否完成		*/
    public static String FieldIsfinish = "isfinish";

    /**来源系统		*/
    private String sourcesys;

    /**来源类型		*/
    private String sourcetype;

    /**来源id		*/
    private long sourceid;

    /**文件附件id		*/
    private long fileid;

    /**用户id		*/
    private long userid;

    /**文件标识		*/
    private String identifier;

    /**当前块号		*/
    private int blocknum;

    /**每块大小		*/
    private long blocksize;

    /**当前块大小		*/
    private long currentblocksize;

    /**总块数		*/
    private int totalblockcount;

    /**文件总大小		*/
    private long filesize;

    /**文件名		*/
    private String filename;

    /**文件类型		*/
    private String filetype;

    /**块md5		*/
    private String blockmd5;

    /**是否完成		*/
    private int isfinish;

    /**
    * @return the  sourcesys:来源系统
    */
    public String getSourcesys() {
        return this.sourcesys;
    }

    /**
    * @param sourcesys:来源系统
    */
    public void setSourcesys(String sourcesys) {
        this.sourcesys = sourcesys;
    }

    /**
    * @return the  sourcetype:来源类型
    */
    public String getSourcetype() {
        return this.sourcetype;
    }

    /**
    * @param sourcetype:来源类型
    */
    public void setSourcetype(String sourcetype) {
        this.sourcetype = sourcetype;
    }

    /**
    * @return the  sourceid:来源id
    */
    public long getSourceid() {
        return this.sourceid;
    }

    /**
    * @param sourceid:来源id
    */
    public void setSourceid(long sourceid) {
        this.sourceid = sourceid;
    }

    /**
    * @return the  fileid:文件附件id
    */
    public long getFileid() {
        return this.fileid;
    }

    /**
    * @param fileid:文件附件id
    */
    public void setFileid(long fileid) {
        this.fileid = fileid;
    }

    /**
    * @return the  userid:用户id
    */
    public long getUserid() {
        return this.userid;
    }

    /**
    * @param userid:用户id
    */
    public void setUserid(long userid) {
        this.userid = userid;
    }

    /**
    * @return the  identifier:文件标识
    */
    public String getIdentifier() {
        return this.identifier;
    }

    /**
    * @param identifier:文件标识
    */
    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    /**
    * @return the  blocknum:当前块号
    */
    public int getBlocknum() {
        return this.blocknum;
    }

    /**
    * @param blocknum:当前块号
    */
    public void setBlocknum(int blocknum) {
        this.blocknum = blocknum;
    }

    /**
    * @return the  blocksize:每块大小
    */
    public long getBlocksize() {
        return this.blocksize;
    }

    /**
    * @param blocksize:每块大小
    */
    public void setBlocksize(long blocksize) {
        this.blocksize = blocksize;
    }

    /**
    * @return the  currentblocksize:当前块大小
    */
    public long getCurrentblocksize() {
        return this.currentblocksize;
    }

    /**
    * @param currentblocksize:当前块大小
    */
    public void setCurrentblocksize(long currentblocksize) {
        this.currentblocksize = currentblocksize;
    }

    /**
    * @return the  totalblockcount:总块数
    */
    public int getTotalblockcount() {
        return this.totalblockcount;
    }

    /**
    * @param totalblockcount:总块数
    */
    public void setTotalblockcount(int totalblockcount) {
        this.totalblockcount = totalblockcount;
    }

    /**
    * @return the  filesize:文件总大小
    */
    public long getFilesize() {
        return this.filesize;
    }

    /**
    * @param filesize:文件总大小
    */
    public void setFilesize(long filesize) {
        this.filesize = filesize;
    }

    /**
    * @return the  filename:文件名
    */
    public String getFilename() {
        return this.filename;
    }

    /**
    * @param filename:文件名
    */
    public void setFilename(String filename) {
        this.filename = filename;
    }

    /**
    * @return the  filetype:文件类型
    */
    public String getFiletype() {
        return this.filetype;
    }

    /**
    * @param filetype:文件类型
    */
    public void setFiletype(String filetype) {
        this.filetype = filetype;
    }

    /**
    * @return the  blockmd5:块md5
    */
    public String getBlockmd5() {
        return this.blockmd5;
    }

    /**
    * @param blockmd5:块md5
    */
    public void setBlockmd5(String blockmd5) {
        this.blockmd5 = blockmd5;
    }

    /**
    * @return the  isfinish:是否完成
    */
    public int getIsfinish() {
        return this.isfinish;
    }

    /**
    * @param isfinish:是否完成
    */
    public void setIsfinish(int isfinish) {
        this.isfinish = isfinish;
    }

}
